home *** CD-ROM | disk | FTP | other *** search
/ STraTOS 1997 April & May / STraTOS 1 - 1997 April & May.iso / CD01 / INTERNET / SITES / RAND / UNSPLIT / text0799.txt < prev    next >
Encoding:
Text File  |  1997-02-06  |  2.1 KB  |  49 lines

  1. > > about wolf on the ST. I am VERY interested in this as my own 3d engine
  2. > > is entirely written in C and hence very portable. My 3d engine is
  3. > > at themoment in fact a wolf3d engine (so not 3d at all :-) ).
  4. > :-)
  5. >  
  6. > > wolf is about 20fps on a falcon. hm. I am a bit surprised. shouldn't
  7. > > it be much faster? wolf3d is really simple. Then again I have no
  8.  
  9. There's probably a very simple reason for the speed.
  10. Assuming 320x200 TC mode:  320 * 200 * 2 * 20 = 2560000
  11.  
  12. That's the amount of data that will need to be written to screen every
  13. second unless some way can be found to skip drawing some parts (that should
  14. be possible in Wolf3D, but might not be worth it).
  15. IIRC the Falcon's maximum memory bandwidth (for the processor) is something
  16. like 6Mbyte/s...
  17.  
  18. A lower resolution may of course be used to lower the bandwidth requirements.
  19.  
  20. > > idea what techniques are used and whether there is any DSP code in
  21. > > the wolf engine.
  22. > Well it doesn't use the DSP as it works on all Ataris including ST.
  23.  
  24. It's of course very easy to make the program realize what machine it's on
  25. and only use the DSP if it's available. I can't imagine the program is
  26. using ST low on the Falcon.
  27.  
  28. Running in ST low would require chunky to planar conversion and that is
  29. not very nice for frame rates on standard Falcons and STs.
  30.  
  31. > I don't think 20fps is that bad as it's written in C. I have seen some
  32. > other Wolf engines for the falcon writtein in assembler (DSP and 030)
  33. > and I wouldn't say that they were faster than 20fps. 
  34.  
  35. 'wc -l *.ASM' indicates that Wolf3D has over 3000 lines of 80x86 assembly
  36. (including comments) and I'd be surprised if those haven't been converted
  37. to m68k assembly rather than C code. For an engine as simple as Wolf3D,
  38. the time for texture mapping is probably very dominant.
  39.  
  40. -- 
  41.   Chalmers University   | Why are these |  e-mail:   rand@cd.chalmers.se
  42.      of Technology      |  .signatures  |            johan@rand.thn.htu.se
  43.                         | so hard to do |  WWW/ftp:  rand.thn.htu.se
  44.    Gothenburg, Sweden   |     well?     |            (MGIFv5, QLem, BAD MOOD)
  45.  
  46.